package com.fanrui.code.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class FamilyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public FamilyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andFamilyNameIsNull() {
            addCriterion("family_name is null");
            return (Criteria) this;
        }

        public Criteria andFamilyNameIsNotNull() {
            addCriterion("family_name is not null");
            return (Criteria) this;
        }

        public Criteria andFamilyNameEqualTo(String value) {
            addCriterion("family_name =", value, "familyName");
            return (Criteria) this;
        }

        public Criteria andFamilyNameNotEqualTo(String value) {
            addCriterion("family_name <>", value, "familyName");
            return (Criteria) this;
        }

        public Criteria andFamilyNameGreaterThan(String value) {
            addCriterion("family_name >", value, "familyName");
            return (Criteria) this;
        }

        public Criteria andFamilyNameGreaterThanOrEqualTo(String value) {
            addCriterion("family_name >=", value, "familyName");
            return (Criteria) this;
        }

        public Criteria andFamilyNameLessThan(String value) {
            addCriterion("family_name <", value, "familyName");
            return (Criteria) this;
        }

        public Criteria andFamilyNameLessThanOrEqualTo(String value) {
            addCriterion("family_name <=", value, "familyName");
            return (Criteria) this;
        }

        public Criteria andFamilyNameLike(String value) {
            addCriterion("family_name like", value, "familyName");
            return (Criteria) this;
        }

        public Criteria andFamilyNameNotLike(String value) {
            addCriterion("family_name not like", value, "familyName");
            return (Criteria) this;
        }

        public Criteria andFamilyNameIn(List<String> values) {
            addCriterion("family_name in", values, "familyName");
            return (Criteria) this;
        }

        public Criteria andFamilyNameNotIn(List<String> values) {
            addCriterion("family_name not in", values, "familyName");
            return (Criteria) this;
        }

        public Criteria andFamilyNameBetween(String value1, String value2) {
            addCriterion("family_name between", value1, value2, "familyName");
            return (Criteria) this;
        }

        public Criteria andFamilyNameNotBetween(String value1, String value2) {
            addCriterion("family_name not between", value1, value2, "familyName");
            return (Criteria) this;
        }

        public Criteria andFamilyOwerIsNull() {
            addCriterion("family_ower is null");
            return (Criteria) this;
        }

        public Criteria andFamilyOwerIsNotNull() {
            addCriterion("family_ower is not null");
            return (Criteria) this;
        }

        public Criteria andFamilyOwerEqualTo(Long value) {
            addCriterion("family_ower =", value, "familyOwer");
            return (Criteria) this;
        }

        public Criteria andFamilyOwerNotEqualTo(Long value) {
            addCriterion("family_ower <>", value, "familyOwer");
            return (Criteria) this;
        }

        public Criteria andFamilyOwerGreaterThan(Long value) {
            addCriterion("family_ower >", value, "familyOwer");
            return (Criteria) this;
        }

        public Criteria andFamilyOwerGreaterThanOrEqualTo(Long value) {
            addCriterion("family_ower >=", value, "familyOwer");
            return (Criteria) this;
        }

        public Criteria andFamilyOwerLessThan(Long value) {
            addCriterion("family_ower <", value, "familyOwer");
            return (Criteria) this;
        }

        public Criteria andFamilyOwerLessThanOrEqualTo(Long value) {
            addCriterion("family_ower <=", value, "familyOwer");
            return (Criteria) this;
        }

        public Criteria andFamilyOwerIn(List<Long> values) {
            addCriterion("family_ower in", values, "familyOwer");
            return (Criteria) this;
        }

        public Criteria andFamilyOwerNotIn(List<Long> values) {
            addCriterion("family_ower not in", values, "familyOwer");
            return (Criteria) this;
        }

        public Criteria andFamilyOwerBetween(Long value1, Long value2) {
            addCriterion("family_ower between", value1, value2, "familyOwer");
            return (Criteria) this;
        }

        public Criteria andFamilyOwerNotBetween(Long value1, Long value2) {
            addCriterion("family_ower not between", value1, value2, "familyOwer");
            return (Criteria) this;
        }

        public Criteria andFamilyLevelIsNull() {
            addCriterion("family_level is null");
            return (Criteria) this;
        }

        public Criteria andFamilyLevelIsNotNull() {
            addCriterion("family_level is not null");
            return (Criteria) this;
        }

        public Criteria andFamilyLevelEqualTo(Integer value) {
            addCriterion("family_level =", value, "familyLevel");
            return (Criteria) this;
        }

        public Criteria andFamilyLevelNotEqualTo(Integer value) {
            addCriterion("family_level <>", value, "familyLevel");
            return (Criteria) this;
        }

        public Criteria andFamilyLevelGreaterThan(Integer value) {
            addCriterion("family_level >", value, "familyLevel");
            return (Criteria) this;
        }

        public Criteria andFamilyLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("family_level >=", value, "familyLevel");
            return (Criteria) this;
        }

        public Criteria andFamilyLevelLessThan(Integer value) {
            addCriterion("family_level <", value, "familyLevel");
            return (Criteria) this;
        }

        public Criteria andFamilyLevelLessThanOrEqualTo(Integer value) {
            addCriterion("family_level <=", value, "familyLevel");
            return (Criteria) this;
        }

        public Criteria andFamilyLevelIn(List<Integer> values) {
            addCriterion("family_level in", values, "familyLevel");
            return (Criteria) this;
        }

        public Criteria andFamilyLevelNotIn(List<Integer> values) {
            addCriterion("family_level not in", values, "familyLevel");
            return (Criteria) this;
        }

        public Criteria andFamilyLevelBetween(Integer value1, Integer value2) {
            addCriterion("family_level between", value1, value2, "familyLevel");
            return (Criteria) this;
        }

        public Criteria andFamilyLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("family_level not between", value1, value2, "familyLevel");
            return (Criteria) this;
        }

        public Criteria andFamilyNoticeIsNull() {
            addCriterion("family_notice is null");
            return (Criteria) this;
        }

        public Criteria andFamilyNoticeIsNotNull() {
            addCriterion("family_notice is not null");
            return (Criteria) this;
        }

        public Criteria andFamilyNoticeEqualTo(String value) {
            addCriterion("family_notice =", value, "familyNotice");
            return (Criteria) this;
        }

        public Criteria andFamilyNoticeNotEqualTo(String value) {
            addCriterion("family_notice <>", value, "familyNotice");
            return (Criteria) this;
        }

        public Criteria andFamilyNoticeGreaterThan(String value) {
            addCriterion("family_notice >", value, "familyNotice");
            return (Criteria) this;
        }

        public Criteria andFamilyNoticeGreaterThanOrEqualTo(String value) {
            addCriterion("family_notice >=", value, "familyNotice");
            return (Criteria) this;
        }

        public Criteria andFamilyNoticeLessThan(String value) {
            addCriterion("family_notice <", value, "familyNotice");
            return (Criteria) this;
        }

        public Criteria andFamilyNoticeLessThanOrEqualTo(String value) {
            addCriterion("family_notice <=", value, "familyNotice");
            return (Criteria) this;
        }

        public Criteria andFamilyNoticeLike(String value) {
            addCriterion("family_notice like", value, "familyNotice");
            return (Criteria) this;
        }

        public Criteria andFamilyNoticeNotLike(String value) {
            addCriterion("family_notice not like", value, "familyNotice");
            return (Criteria) this;
        }

        public Criteria andFamilyNoticeIn(List<String> values) {
            addCriterion("family_notice in", values, "familyNotice");
            return (Criteria) this;
        }

        public Criteria andFamilyNoticeNotIn(List<String> values) {
            addCriterion("family_notice not in", values, "familyNotice");
            return (Criteria) this;
        }

        public Criteria andFamilyNoticeBetween(String value1, String value2) {
            addCriterion("family_notice between", value1, value2, "familyNotice");
            return (Criteria) this;
        }

        public Criteria andFamilyNoticeNotBetween(String value1, String value2) {
            addCriterion("family_notice not between", value1, value2, "familyNotice");
            return (Criteria) this;
        }

        public Criteria andFamilyInfoIsNull() {
            addCriterion("family_info is null");
            return (Criteria) this;
        }

        public Criteria andFamilyInfoIsNotNull() {
            addCriterion("family_info is not null");
            return (Criteria) this;
        }

        public Criteria andFamilyInfoEqualTo(String value) {
            addCriterion("family_info =", value, "familyInfo");
            return (Criteria) this;
        }

        public Criteria andFamilyInfoNotEqualTo(String value) {
            addCriterion("family_info <>", value, "familyInfo");
            return (Criteria) this;
        }

        public Criteria andFamilyInfoGreaterThan(String value) {
            addCriterion("family_info >", value, "familyInfo");
            return (Criteria) this;
        }

        public Criteria andFamilyInfoGreaterThanOrEqualTo(String value) {
            addCriterion("family_info >=", value, "familyInfo");
            return (Criteria) this;
        }

        public Criteria andFamilyInfoLessThan(String value) {
            addCriterion("family_info <", value, "familyInfo");
            return (Criteria) this;
        }

        public Criteria andFamilyInfoLessThanOrEqualTo(String value) {
            addCriterion("family_info <=", value, "familyInfo");
            return (Criteria) this;
        }

        public Criteria andFamilyInfoLike(String value) {
            addCriterion("family_info like", value, "familyInfo");
            return (Criteria) this;
        }

        public Criteria andFamilyInfoNotLike(String value) {
            addCriterion("family_info not like", value, "familyInfo");
            return (Criteria) this;
        }

        public Criteria andFamilyInfoIn(List<String> values) {
            addCriterion("family_info in", values, "familyInfo");
            return (Criteria) this;
        }

        public Criteria andFamilyInfoNotIn(List<String> values) {
            addCriterion("family_info not in", values, "familyInfo");
            return (Criteria) this;
        }

        public Criteria andFamilyInfoBetween(String value1, String value2) {
            addCriterion("family_info between", value1, value2, "familyInfo");
            return (Criteria) this;
        }

        public Criteria andFamilyInfoNotBetween(String value1, String value2) {
            addCriterion("family_info not between", value1, value2, "familyInfo");
            return (Criteria) this;
        }

        public Criteria andFamilyApplyListIsNull() {
            addCriterion("family_apply_list is null");
            return (Criteria) this;
        }

        public Criteria andFamilyApplyListIsNotNull() {
            addCriterion("family_apply_list is not null");
            return (Criteria) this;
        }

        public Criteria andFamilyApplyListEqualTo(String value) {
            addCriterion("family_apply_list =", value, "familyApplyList");
            return (Criteria) this;
        }

        public Criteria andFamilyApplyListNotEqualTo(String value) {
            addCriterion("family_apply_list <>", value, "familyApplyList");
            return (Criteria) this;
        }

        public Criteria andFamilyApplyListGreaterThan(String value) {
            addCriterion("family_apply_list >", value, "familyApplyList");
            return (Criteria) this;
        }

        public Criteria andFamilyApplyListGreaterThanOrEqualTo(String value) {
            addCriterion("family_apply_list >=", value, "familyApplyList");
            return (Criteria) this;
        }

        public Criteria andFamilyApplyListLessThan(String value) {
            addCriterion("family_apply_list <", value, "familyApplyList");
            return (Criteria) this;
        }

        public Criteria andFamilyApplyListLessThanOrEqualTo(String value) {
            addCriterion("family_apply_list <=", value, "familyApplyList");
            return (Criteria) this;
        }

        public Criteria andFamilyApplyListLike(String value) {
            addCriterion("family_apply_list like", value, "familyApplyList");
            return (Criteria) this;
        }

        public Criteria andFamilyApplyListNotLike(String value) {
            addCriterion("family_apply_list not like", value, "familyApplyList");
            return (Criteria) this;
        }

        public Criteria andFamilyApplyListIn(List<String> values) {
            addCriterion("family_apply_list in", values, "familyApplyList");
            return (Criteria) this;
        }

        public Criteria andFamilyApplyListNotIn(List<String> values) {
            addCriterion("family_apply_list not in", values, "familyApplyList");
            return (Criteria) this;
        }

        public Criteria andFamilyApplyListBetween(String value1, String value2) {
            addCriterion("family_apply_list between", value1, value2, "familyApplyList");
            return (Criteria) this;
        }

        public Criteria andFamilyApplyListNotBetween(String value1, String value2) {
            addCriterion("family_apply_list not between", value1, value2, "familyApplyList");
            return (Criteria) this;
        }

        public Criteria andFamilyExitListIsNull() {
            addCriterion("family_exit_list is null");
            return (Criteria) this;
        }

        public Criteria andFamilyExitListIsNotNull() {
            addCriterion("family_exit_list is not null");
            return (Criteria) this;
        }

        public Criteria andFamilyExitListEqualTo(String value) {
            addCriterion("family_exit_list =", value, "familyExitList");
            return (Criteria) this;
        }

        public Criteria andFamilyExitListNotEqualTo(String value) {
            addCriterion("family_exit_list <>", value, "familyExitList");
            return (Criteria) this;
        }

        public Criteria andFamilyExitListGreaterThan(String value) {
            addCriterion("family_exit_list >", value, "familyExitList");
            return (Criteria) this;
        }

        public Criteria andFamilyExitListGreaterThanOrEqualTo(String value) {
            addCriterion("family_exit_list >=", value, "familyExitList");
            return (Criteria) this;
        }

        public Criteria andFamilyExitListLessThan(String value) {
            addCriterion("family_exit_list <", value, "familyExitList");
            return (Criteria) this;
        }

        public Criteria andFamilyExitListLessThanOrEqualTo(String value) {
            addCriterion("family_exit_list <=", value, "familyExitList");
            return (Criteria) this;
        }

        public Criteria andFamilyExitListLike(String value) {
            addCriterion("family_exit_list like", value, "familyExitList");
            return (Criteria) this;
        }

        public Criteria andFamilyExitListNotLike(String value) {
            addCriterion("family_exit_list not like", value, "familyExitList");
            return (Criteria) this;
        }

        public Criteria andFamilyExitListIn(List<String> values) {
            addCriterion("family_exit_list in", values, "familyExitList");
            return (Criteria) this;
        }

        public Criteria andFamilyExitListNotIn(List<String> values) {
            addCriterion("family_exit_list not in", values, "familyExitList");
            return (Criteria) this;
        }

        public Criteria andFamilyExitListBetween(String value1, String value2) {
            addCriterion("family_exit_list between", value1, value2, "familyExitList");
            return (Criteria) this;
        }

        public Criteria andFamilyExitListNotBetween(String value1, String value2) {
            addCriterion("family_exit_list not between", value1, value2, "familyExitList");
            return (Criteria) this;
        }

        public Criteria andFamilyCreateTimeIsNull() {
            addCriterion("family_create_time is null");
            return (Criteria) this;
        }

        public Criteria andFamilyCreateTimeIsNotNull() {
            addCriterion("family_create_time is not null");
            return (Criteria) this;
        }

        public Criteria andFamilyCreateTimeEqualTo(Date value) {
            addCriterion("family_create_time =", value, "familyCreateTime");
            return (Criteria) this;
        }

        public Criteria andFamilyCreateTimeNotEqualTo(Date value) {
            addCriterion("family_create_time <>", value, "familyCreateTime");
            return (Criteria) this;
        }

        public Criteria andFamilyCreateTimeGreaterThan(Date value) {
            addCriterion("family_create_time >", value, "familyCreateTime");
            return (Criteria) this;
        }

        public Criteria andFamilyCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("family_create_time >=", value, "familyCreateTime");
            return (Criteria) this;
        }

        public Criteria andFamilyCreateTimeLessThan(Date value) {
            addCriterion("family_create_time <", value, "familyCreateTime");
            return (Criteria) this;
        }

        public Criteria andFamilyCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("family_create_time <=", value, "familyCreateTime");
            return (Criteria) this;
        }

        public Criteria andFamilyCreateTimeIn(List<Date> values) {
            addCriterion("family_create_time in", values, "familyCreateTime");
            return (Criteria) this;
        }

        public Criteria andFamilyCreateTimeNotIn(List<Date> values) {
            addCriterion("family_create_time not in", values, "familyCreateTime");
            return (Criteria) this;
        }

        public Criteria andFamilyCreateTimeBetween(Date value1, Date value2) {
            addCriterion("family_create_time between", value1, value2, "familyCreateTime");
            return (Criteria) this;
        }

        public Criteria andFamilyCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("family_create_time not between", value1, value2, "familyCreateTime");
            return (Criteria) this;
        }

        public Criteria andFamilyerListIsNull() {
            addCriterion("familyer_list is null");
            return (Criteria) this;
        }

        public Criteria andFamilyerListIsNotNull() {
            addCriterion("familyer_list is not null");
            return (Criteria) this;
        }

        public Criteria andFamilyerListEqualTo(String value) {
            addCriterion("familyer_list =", value, "familyerList");
            return (Criteria) this;
        }

        public Criteria andFamilyerListNotEqualTo(String value) {
            addCriterion("familyer_list <>", value, "familyerList");
            return (Criteria) this;
        }

        public Criteria andFamilyerListGreaterThan(String value) {
            addCriterion("familyer_list >", value, "familyerList");
            return (Criteria) this;
        }

        public Criteria andFamilyerListGreaterThanOrEqualTo(String value) {
            addCriterion("familyer_list >=", value, "familyerList");
            return (Criteria) this;
        }

        public Criteria andFamilyerListLessThan(String value) {
            addCriterion("familyer_list <", value, "familyerList");
            return (Criteria) this;
        }

        public Criteria andFamilyerListLessThanOrEqualTo(String value) {
            addCriterion("familyer_list <=", value, "familyerList");
            return (Criteria) this;
        }

        public Criteria andFamilyerListLike(String value) {
            addCriterion("familyer_list like", value, "familyerList");
            return (Criteria) this;
        }

        public Criteria andFamilyerListNotLike(String value) {
            addCriterion("familyer_list not like", value, "familyerList");
            return (Criteria) this;
        }

        public Criteria andFamilyerListIn(List<String> values) {
            addCriterion("familyer_list in", values, "familyerList");
            return (Criteria) this;
        }

        public Criteria andFamilyerListNotIn(List<String> values) {
            addCriterion("familyer_list not in", values, "familyerList");
            return (Criteria) this;
        }

        public Criteria andFamilyerListBetween(String value1, String value2) {
            addCriterion("familyer_list between", value1, value2, "familyerList");
            return (Criteria) this;
        }

        public Criteria andFamilyerListNotBetween(String value1, String value2) {
            addCriterion("familyer_list not between", value1, value2, "familyerList");
            return (Criteria) this;
        }

        public Criteria andSiginInListIsNull() {
            addCriterion("sigin_in_list is null");
            return (Criteria) this;
        }

        public Criteria andSiginInListIsNotNull() {
            addCriterion("sigin_in_list is not null");
            return (Criteria) this;
        }

        public Criteria andSiginInListEqualTo(String value) {
            addCriterion("sigin_in_list =", value, "siginInList");
            return (Criteria) this;
        }

        public Criteria andSiginInListNotEqualTo(String value) {
            addCriterion("sigin_in_list <>", value, "siginInList");
            return (Criteria) this;
        }

        public Criteria andSiginInListGreaterThan(String value) {
            addCriterion("sigin_in_list >", value, "siginInList");
            return (Criteria) this;
        }

        public Criteria andSiginInListGreaterThanOrEqualTo(String value) {
            addCriterion("sigin_in_list >=", value, "siginInList");
            return (Criteria) this;
        }

        public Criteria andSiginInListLessThan(String value) {
            addCriterion("sigin_in_list <", value, "siginInList");
            return (Criteria) this;
        }

        public Criteria andSiginInListLessThanOrEqualTo(String value) {
            addCriterion("sigin_in_list <=", value, "siginInList");
            return (Criteria) this;
        }

        public Criteria andSiginInListLike(String value) {
            addCriterion("sigin_in_list like", value, "siginInList");
            return (Criteria) this;
        }

        public Criteria andSiginInListNotLike(String value) {
            addCriterion("sigin_in_list not like", value, "siginInList");
            return (Criteria) this;
        }

        public Criteria andSiginInListIn(List<String> values) {
            addCriterion("sigin_in_list in", values, "siginInList");
            return (Criteria) this;
        }

        public Criteria andSiginInListNotIn(List<String> values) {
            addCriterion("sigin_in_list not in", values, "siginInList");
            return (Criteria) this;
        }

        public Criteria andSiginInListBetween(String value1, String value2) {
            addCriterion("sigin_in_list between", value1, value2, "siginInList");
            return (Criteria) this;
        }

        public Criteria andSiginInListNotBetween(String value1, String value2) {
            addCriterion("sigin_in_list not between", value1, value2, "siginInList");
            return (Criteria) this;
        }

        public Criteria andTrendsListIsNull() {
            addCriterion("trends_list is null");
            return (Criteria) this;
        }

        public Criteria andTrendsListIsNotNull() {
            addCriterion("trends_list is not null");
            return (Criteria) this;
        }

        public Criteria andTrendsListEqualTo(String value) {
            addCriterion("trends_list =", value, "trendsList");
            return (Criteria) this;
        }

        public Criteria andTrendsListNotEqualTo(String value) {
            addCriterion("trends_list <>", value, "trendsList");
            return (Criteria) this;
        }

        public Criteria andTrendsListGreaterThan(String value) {
            addCriterion("trends_list >", value, "trendsList");
            return (Criteria) this;
        }

        public Criteria andTrendsListGreaterThanOrEqualTo(String value) {
            addCriterion("trends_list >=", value, "trendsList");
            return (Criteria) this;
        }

        public Criteria andTrendsListLessThan(String value) {
            addCriterion("trends_list <", value, "trendsList");
            return (Criteria) this;
        }

        public Criteria andTrendsListLessThanOrEqualTo(String value) {
            addCriterion("trends_list <=", value, "trendsList");
            return (Criteria) this;
        }

        public Criteria andTrendsListLike(String value) {
            addCriterion("trends_list like", value, "trendsList");
            return (Criteria) this;
        }

        public Criteria andTrendsListNotLike(String value) {
            addCriterion("trends_list not like", value, "trendsList");
            return (Criteria) this;
        }

        public Criteria andTrendsListIn(List<String> values) {
            addCriterion("trends_list in", values, "trendsList");
            return (Criteria) this;
        }

        public Criteria andTrendsListNotIn(List<String> values) {
            addCriterion("trends_list not in", values, "trendsList");
            return (Criteria) this;
        }

        public Criteria andTrendsListBetween(String value1, String value2) {
            addCriterion("trends_list between", value1, value2, "trendsList");
            return (Criteria) this;
        }

        public Criteria andTrendsListNotBetween(String value1, String value2) {
            addCriterion("trends_list not between", value1, value2, "trendsList");
            return (Criteria) this;
        }

        public Criteria andDividendIsNull() {
            addCriterion("dividend is null");
            return (Criteria) this;
        }

        public Criteria andDividendIsNotNull() {
            addCriterion("dividend is not null");
            return (Criteria) this;
        }

        public Criteria andDividendEqualTo(Long value) {
            addCriterion("dividend =", value, "dividend");
            return (Criteria) this;
        }

        public Criteria andDividendNotEqualTo(Long value) {
            addCriterion("dividend <>", value, "dividend");
            return (Criteria) this;
        }

        public Criteria andDividendGreaterThan(Long value) {
            addCriterion("dividend >", value, "dividend");
            return (Criteria) this;
        }

        public Criteria andDividendGreaterThanOrEqualTo(Long value) {
            addCriterion("dividend >=", value, "dividend");
            return (Criteria) this;
        }

        public Criteria andDividendLessThan(Long value) {
            addCriterion("dividend <", value, "dividend");
            return (Criteria) this;
        }

        public Criteria andDividendLessThanOrEqualTo(Long value) {
            addCriterion("dividend <=", value, "dividend");
            return (Criteria) this;
        }

        public Criteria andDividendIn(List<Long> values) {
            addCriterion("dividend in", values, "dividend");
            return (Criteria) this;
        }

        public Criteria andDividendNotIn(List<Long> values) {
            addCriterion("dividend not in", values, "dividend");
            return (Criteria) this;
        }

        public Criteria andDividendBetween(Long value1, Long value2) {
            addCriterion("dividend between", value1, value2, "dividend");
            return (Criteria) this;
        }

        public Criteria andDividendNotBetween(Long value1, Long value2) {
            addCriterion("dividend not between", value1, value2, "dividend");
            return (Criteria) this;
        }

        public Criteria andSuperiorIsNull() {
            addCriterion("superior is null");
            return (Criteria) this;
        }

        public Criteria andSuperiorIsNotNull() {
            addCriterion("superior is not null");
            return (Criteria) this;
        }

        public Criteria andSuperiorEqualTo(Integer value) {
            addCriterion("superior =", value, "superior");
            return (Criteria) this;
        }

        public Criteria andSuperiorNotEqualTo(Integer value) {
            addCriterion("superior <>", value, "superior");
            return (Criteria) this;
        }

        public Criteria andSuperiorGreaterThan(Integer value) {
            addCriterion("superior >", value, "superior");
            return (Criteria) this;
        }

        public Criteria andSuperiorGreaterThanOrEqualTo(Integer value) {
            addCriterion("superior >=", value, "superior");
            return (Criteria) this;
        }

        public Criteria andSuperiorLessThan(Integer value) {
            addCriterion("superior <", value, "superior");
            return (Criteria) this;
        }

        public Criteria andSuperiorLessThanOrEqualTo(Integer value) {
            addCriterion("superior <=", value, "superior");
            return (Criteria) this;
        }

        public Criteria andSuperiorIn(List<Integer> values) {
            addCriterion("superior in", values, "superior");
            return (Criteria) this;
        }

        public Criteria andSuperiorNotIn(List<Integer> values) {
            addCriterion("superior not in", values, "superior");
            return (Criteria) this;
        }

        public Criteria andSuperiorBetween(Integer value1, Integer value2) {
            addCriterion("superior between", value1, value2, "superior");
            return (Criteria) this;
        }

        public Criteria andSuperiorNotBetween(Integer value1, Integer value2) {
            addCriterion("superior not between", value1, value2, "superior");
            return (Criteria) this;
        }

        public Criteria andSignInListIsNull() {
            addCriterion("sign_in_list is null");
            return (Criteria) this;
        }

        public Criteria andSignInListIsNotNull() {
            addCriterion("sign_in_list is not null");
            return (Criteria) this;
        }

        public Criteria andSignInListEqualTo(String value) {
            addCriterion("sign_in_list =", value, "signInList");
            return (Criteria) this;
        }

        public Criteria andSignInListNotEqualTo(String value) {
            addCriterion("sign_in_list <>", value, "signInList");
            return (Criteria) this;
        }

        public Criteria andSignInListGreaterThan(String value) {
            addCriterion("sign_in_list >", value, "signInList");
            return (Criteria) this;
        }

        public Criteria andSignInListGreaterThanOrEqualTo(String value) {
            addCriterion("sign_in_list >=", value, "signInList");
            return (Criteria) this;
        }

        public Criteria andSignInListLessThan(String value) {
            addCriterion("sign_in_list <", value, "signInList");
            return (Criteria) this;
        }

        public Criteria andSignInListLessThanOrEqualTo(String value) {
            addCriterion("sign_in_list <=", value, "signInList");
            return (Criteria) this;
        }

        public Criteria andSignInListLike(String value) {
            addCriterion("sign_in_list like", value, "signInList");
            return (Criteria) this;
        }

        public Criteria andSignInListNotLike(String value) {
            addCriterion("sign_in_list not like", value, "signInList");
            return (Criteria) this;
        }

        public Criteria andSignInListIn(List<String> values) {
            addCriterion("sign_in_list in", values, "signInList");
            return (Criteria) this;
        }

        public Criteria andSignInListNotIn(List<String> values) {
            addCriterion("sign_in_list not in", values, "signInList");
            return (Criteria) this;
        }

        public Criteria andSignInListBetween(String value1, String value2) {
            addCriterion("sign_in_list between", value1, value2, "signInList");
            return (Criteria) this;
        }

        public Criteria andSignInListNotBetween(String value1, String value2) {
            addCriterion("sign_in_list not between", value1, value2, "signInList");
            return (Criteria) this;
        }

        public Criteria andMahjongRoomConfigIsNull() {
            addCriterion("mahjong_room_config is null");
            return (Criteria) this;
        }

        public Criteria andMahjongRoomConfigIsNotNull() {
            addCriterion("mahjong_room_config is not null");
            return (Criteria) this;
        }

        public Criteria andMahjongRoomConfigEqualTo(String value) {
            addCriterion("mahjong_room_config =", value, "mahjongRoomConfig");
            return (Criteria) this;
        }

        public Criteria andMahjongRoomConfigNotEqualTo(String value) {
            addCriterion("mahjong_room_config <>", value, "mahjongRoomConfig");
            return (Criteria) this;
        }

        public Criteria andMahjongRoomConfigGreaterThan(String value) {
            addCriterion("mahjong_room_config >", value, "mahjongRoomConfig");
            return (Criteria) this;
        }

        public Criteria andMahjongRoomConfigGreaterThanOrEqualTo(String value) {
            addCriterion("mahjong_room_config >=", value, "mahjongRoomConfig");
            return (Criteria) this;
        }

        public Criteria andMahjongRoomConfigLessThan(String value) {
            addCriterion("mahjong_room_config <", value, "mahjongRoomConfig");
            return (Criteria) this;
        }

        public Criteria andMahjongRoomConfigLessThanOrEqualTo(String value) {
            addCriterion("mahjong_room_config <=", value, "mahjongRoomConfig");
            return (Criteria) this;
        }

        public Criteria andMahjongRoomConfigLike(String value) {
            addCriterion("mahjong_room_config like", value, "mahjongRoomConfig");
            return (Criteria) this;
        }

        public Criteria andMahjongRoomConfigNotLike(String value) {
            addCriterion("mahjong_room_config not like", value, "mahjongRoomConfig");
            return (Criteria) this;
        }

        public Criteria andMahjongRoomConfigIn(List<String> values) {
            addCriterion("mahjong_room_config in", values, "mahjongRoomConfig");
            return (Criteria) this;
        }

        public Criteria andMahjongRoomConfigNotIn(List<String> values) {
            addCriterion("mahjong_room_config not in", values, "mahjongRoomConfig");
            return (Criteria) this;
        }

        public Criteria andMahjongRoomConfigBetween(String value1, String value2) {
            addCriterion("mahjong_room_config between", value1, value2, "mahjongRoomConfig");
            return (Criteria) this;
        }

        public Criteria andMahjongRoomConfigNotBetween(String value1, String value2) {
            addCriterion("mahjong_room_config not between", value1, value2, "mahjongRoomConfig");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Short value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Short value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Short value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Short value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Short value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Short value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Short> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Short> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Short value1, Short value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Short value1, Short value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}